package org.jet.emall.security.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.security.core.GrantedAuthority;

/**
 * @author xiaozai
 * @version 1.0
 * @date 2020-04-07 19:55
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GrantedAuthorityModel implements GrantedAuthority {
    private String authority;

    @Override
    public String getAuthority() {
        return authority;
    }
}
